trace com.c2f.hbos.emr.core.api.record.RecordApiServiceImpl queryChiefComplaint "params[0].getPatientId() != null && params[0].getPatientId().equals(258007)" -n 5 --skipJDKMethod false
trace com.c2f.hbos.emr.core.api.record.RecordApiServiceImpl queryChiefComplaint "params[0].getPatientId() != null && params[0].getPatientId() == 2002030238" -n 5 --skipJDKMethod false
trace com.c2f.hbos.emr.core.api.record.RecordApiServiceImpl queryChiefComplaint "params[0].getPatientId() != null" -n 5 --skipJDKMethod false
trace com.c2f.hbos.emr.core.api.record.RecordApiServiceImpl queryChiefComplaint -n 5 --skipJDKMethod false

watch com.c2f.hbos.emr.core.api.record.RecordApiServiceImpl queryChiefComplaint '{params,returnObj,throwExp}'  "params[0].getPatientId() != null && params[0].getPatientId() == 2002030238" -n 5  -x 5

watch com.c2f.hbos.emr.cms.manage.model.orm.DataInstanceService listByIds '{params,returnObj,throwExp}' "params[0].size() > 0 && params[0].contains(17608193) || params[0].contains(17614991)" -n 5  -x 3

jad --source-only com.simple.demo.controller.TestController > /Users/chengxingwu/devtools/test/TestController.java

# 去找hash，要不然下面的去编译的时候会报错，找不到import包
sc -d com.simple.demo.controller.TestController
# 需要找到之前加载该类的类加载器的hash码
mc -c 439f5b3d /Users/chengxingwu/devtools/test/TestController.java -d /Users/chengxingwu/devtools/test

retransform /Users/chengxingwu/devtools/test/com/simple/demo/controller/TestController.class
